//
//  TradeCoinModel.h
//  BTCoin
//
//  Created by Robin on 23/03/2018.
//  Copyright © 2018 Robin. All rights reserved.
//
//  买入/卖出

#import "BaseModel.h"
#import "FVirtualCoinTypeModel.h"
#import "FTradeMappingModel.h"
#import "FTradeMappingModel.h"
#import "FUserModel.h"
#import "FAddTimeModel.h"
#import "TradeCoinUserModel.h"

@protocol FTradeMappingModel;

@interface TradeCoinModel : BaseModel
@property (nonatomic,strong) NSArray * BuyMap;
@property (nonatomic,strong) NSArray * BuySuccessMap;
@property (nonatomic,assign) double HighestBuyPrize;
@property (nonatomic,assign) double LatestDealPrize;
@property (nonatomic,assign) double LowestSellPrize;
@property (nonatomic,assign) double OneDayHighest;
@property (nonatomic,assign) double OneDayLowest;
@property (nonatomic,assign) double OneDayTotal;
@property (nonatomic,strong) NSArray * SellMap;
@property (nonatomic,strong) FVirtualCoinTypeModel * coin1;
@property (nonatomic,strong) FVirtualCoinTypeModel * coin2;
@property (nonatomic,assign) NSInteger coinType;
@property (nonatomic,assign) double downPrice;
@property (nonatomic,strong) NSArray * fentrusts;
@property (nonatomic,strong) FTradeMappingModel * ftrademapping;
@property (nonatomic,strong) NSArray<FTradeMappingModel*><FTradeMappingModel> *  ftrademappings;
@property (nonatomic,strong) TradeCoinUserModel * fuser;
@property (nonatomic,assign) NSInteger isLimittrade;
@property (nonatomic,assign) NSInteger isTelephoneBind;
@property (nonatomic,assign) NSInteger isTradePassword;
@property (nonatomic,assign) NSInteger needTradePasswd;
@property (nonatomic,assign) NSInteger recommendPrizebuy;
@property (nonatomic,assign) NSInteger recommendPrizesell;
@property (nonatomic,assign) NSInteger tradeType;
@property (nonatomic,strong) NSArray * tradestock;
@property (nonatomic,assign) NSInteger upPrice;
@property (nonatomic,assign) NSInteger userid;
@end
